//
//  UITextView+ExPlaceholder.h
//  OC-Example
//
//  Created by apang on 2018/8/28.
//  Copyright © 2018 apang.men All rights reserved.
//

#import <UIKit/UIKit.h>
IB_DESIGNABLE
/**
 占位符扩展,只有引用了该文件，且设置 placeholder 时才会生效
 */
@interface UITextView (ExPlaceholder)
/**
 默认 self.contentInset.left+1 self.contentInset.top
 */
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, copy) IBInspectable NSString *placeholder;
@property (nonatomic, strong) NSAttributedString *attributedPlaceholder;
/**
 默认 #999999 153,153,153,1   0.6,0.6,0.6,1.0
 */
@property (nonatomic, strong) IBInspectable UIColor *placeholderColor;
/**
 默认 .SFUIText 16pt
 */
@property (nonatomic, strong) IBInspectable UIFont * placeholderFont;
@end
